package com.zeta.system.model.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * 操作日志 查询参数
 *
 * @author AutoGenerator
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description = "操作日志查询参数")
public class SysOptLogQueryDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /** id */
    @Schema(description = "id")
    private Long id;

    /** 操作类型 */
    @Schema(description = "操作类型")
    private String type;

    /** 操作人 */
    @Schema(description = "操作人")
    private String userName;

    /** 操作描述 */
    @Schema(description = "操作描述")
    private String description;

    /** 请求地址 */
    @Schema(description = "请求地址")
    private String url;

    /** 请求方式 */
    @Schema(description = "请求方式")
    private String httpMethod;

    /** 类路径 */
    @Schema(description = "类路径")
    private String classPath;

    /** 操作系统 */
    @Schema(description = "操作系统")
    private String os;

    /** 设备名称 */
    @Schema(description = "设备名称")
    private String device;

    /** 浏览器类型 */
    @Schema(description = "浏览器类型")
    private String browser;

    /** ip地址 */
    @Schema(description = "ip地址")
    private String ip;

    /** ip所在地区 */
    @Schema(description = "ip所在地区")
    private String ipRegion;
}
